package com.bes.sdk.message;

public class CmdPackageHeader {
    int packageTotalNum;
    int packageIndex;
    int packagelength;
    static byte[] cmdId;

    public CmdPackageHeader(int packageTotalNum, int packageIndex, int packagelength, byte[] cmdId) {
        this.packageTotalNum = packageTotalNum;
        this.packageIndex = packageIndex;
        this.packagelength = packagelength;
        this.cmdId = cmdId;
    }

    public int getPackageTotalNum() {
        return packageTotalNum;
    }

    public void setPackageTotalNum(int packageTotalNum) {
        this.packageTotalNum = packageTotalNum;
    }

    public int getPackageIndex() {
        return packageIndex;
    }

    public void setPackageIndex(int packageIndex) {
        this.packageIndex = packageIndex;
    }

    public int getPackageLength() {
        return packagelength;
    }

    public void setPackageLength(int packagelength) {
        this.packagelength = packagelength;
    }

    public static byte[] getCmdId() {
        return cmdId;
    }

    public void setCmdId(byte[] cmdId) {
        this.cmdId = cmdId;
    }


}
